import 'package:arco_flutter/arco_flutter.dart';
import 'package:flutter/material.dart';

import 'package:get/get.dart';

import '../controllers/button7_controller.dart';

///加载中状态
class Button7View extends GetView<Button7Controller> {
    const Button7View({super.key});
    @override
    Widget build(BuildContext context) {
        return const Scaffold(
            body: Center(
                child: Wrap(
                    spacing: 10,
                    children: [
                        AButton(
                            type: AButtonType.primary,
                            loading: true,
                            child: Text('Primary'),
                        ),
                        AButton(
                            type: AButtonType.secondary,
                            loading: true,
                            child: Text('Delete'),
                        ),
                        AButton(
                            type: AButtonType.dashed,
                            loading: true,
                            child: Text('Dashed'),
                        ),
                    ],
                ),
            ),
        );
    }
}
